package cn.zcf.basic.service.impl;

import cn.zcf.basic.service.IBaiduAiAuditService;
import cn.zcf.basic.utils.BaiduAuditUtils;
import org.springframework.stereotype.Service;

@Service
public class BaiduAiAuditServiceImpl implements IBaiduAiAuditService {
    @Override
    public Boolean textAudit(String s) {
        return BaiduAuditUtils.TextCensor(s);
    }

    @Override
    public Boolean imageAudit(String s) {
        return BaiduAuditUtils.ImgCensor(s);
    }
}
